package cn.gok.day6;

import java.util.function.Function;

/**
 * @ClassName Test
 * @Description TODO
 * @Author HP
 * @Date 16:18 2022/7/11
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        composeTest();
    }

    private static void composeTest() {
        Function<Float, Float> f1=f->f*f;
        Function<Float, Float> f2=f->f*100;
        System.out.println(f2.compose(f1).apply(16F));
    }
//    流
    public static void streamApi(){
//        System s1=System.of("a","b","c");
    }
}
